/* =============================================================
 * codeEnum.js v1.0.0
 * =============================================================
 * Original written by Ysy
 * =============================================================
 * Date 15/06/2020
 * ============================================================ */

import EnumFactory from './enumFactory'

export const LIVE_STATUS_ENUM = new EnumFactory([
  { code: '1', name: '直播中',nameEn: 'Live Now' },
  { code: '2', name: '直播准备中',nameEn: 'Live in Preparation' },
  { code: '3', name: '敬请期待' , nameEn: 'Coming Soon' },
  { code: '4', name: '回放', nameEn: 'Review' }
])

// console.log(ResourceStatusEnum.ENABLED.name);  // 启用
// console.log(ResourceStatusEnum.getNameByCode('ENABLED'));  //启用
// console.log(ResourceStatusEnum.getValues());

export default {
  LIVE_STATUS_ENUM
}
